package com.blog.backend.service;

import com.blog.backend.req.AddTravelReq;
import com.blog.backend.req.TravelReq;
import com.blog.backend.resp.TravelResp;
import com.blog.backend.vo.PageResult;

import java.util.List;

public interface TravelManageService {
    PageResult<TravelResp> selectTravelList(TravelReq req);

    Boolean insertTravel(AddTravelReq req);

    TravelResp selectTravelDetail(String travelId);

    Boolean updateTravelDetail(AddTravelReq req);

    Boolean deleteTravel(String travelId);

    List<TravelResp> getHotTravelList();
}
